<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Translate API Example</title>
    <script type="text/javascript">
    function sayHello(language) {
  var arrHellos = {
    "Chinese" : "你好世界",
    "Dutch" : "Hello wereld",
    "English" : "Hello world",
    "French" : "Bonjour monde",
    "German" : "Hallo Welt",
    "Greek" : "γειά σου κόσμος",
    "Italian" : "Ciao mondo",
    "Japanese" : "こんにちは世界",
    "Korean" : "여보세요 세계",
    "Portuguese" : "Olá mundo",
    "Russian" : "Здравствулте мир",
    "Spanish" : "Hola mundo"
  };
  alert(arrHellos[language]);
}
</script>
  </head>
  <body>
    <form method="get" action="javascript:void()">
  <label>
    <strong>Language:</strong> 
    <select name="menuits" id="menuits">
      <option>Chinese</option>
      <option>Dutch</option>
      <option>English</option>
      <option>French</option>
      <option>German</option>
      <option>Greek</option>
      <option>Italian</option>
      <option>Japanese</option>
      <option>Korean</option>
      <option>Portuguese</option>
      <option>Russian</option>
      <option>Spanish</option>
    </select>
  </label>
  <input type="button" onclick="sayHello(this.form.menuits.options[this.form.language.selectedIndex].value);" value="Say Hello" />
</form>
  </body>
</html>